package com.gaofei.user.service.impl;


import com.gaofei.user.domain.ActivitiVo;
import com.gaofei.user.mapper.LeaveMapper;
import com.gaofei.user.service.LeaveService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class LeaveServiceImpl implements LeaveService {

    @Autowired
    private LeaveMapper leaveMapper;
    @Override
    public void save(ActivitiVo vo) {
        leaveMapper.save(vo);
    }

    @Override
    public ActivitiVo findLeaveById(int parseInt) {
        return leaveMapper.findLeaveById(parseInt);
    }
}
